package com.eyas.core.annotation;

import org.springframework.core.annotation.AliasFor;

import java.lang.annotation.*;

/**
 * @Auther: 王龙龙
 * @Date: 2018/11/29 10:52
 * @Description:
 */
@Documented
@Inherited
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.TYPE})
public @interface Table {
    @AliasFor("tableName")
    String value() default "";

    @AliasFor("value")
    String tableName() default "";

    String dbName() default "";
}
